package com.why.dto;

import com.why.annotation.ParamClass;
import com.why.annotation.ParamField;

@ParamClass
public class TestDto {

    @ParamField(name = "id", description = "自增id")
    private int id;

    @ParamField(name = "name", description = "name")
    private String name;

    @ParamField(name = "pass", description = "pass")
    private String pass;

    @ParamField(name = "address", description = "address")
    private String address;

    @ParamField(name = "phone", description = "phone")
    private String phone;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
